ShortPixel\Model\EnvironmentModel S

Total Complexity 44
Dependencies 2
Dependents 1
Total lines 265
Lines of code 149
Logical lines of code 93
Comment lines 35
Methods 15
Properties 19

Methods 15

Method Rating Maintainability Complexity Lines of code
plugin_active()
S
53 6 24
setScreen()
S
50 5 32
setWordPress()
S
61 5 12
is_function_usable()
S
61 4 12
setServer()
S
67 4 6
setDefaultViewModeList()
S
61 3 13
determineFrontBack()
S
71 3 6
useDoubleWebpExtension()
S
73 3 5
useDoubleAvifExtension()
S
73 3 5
getInstance()
S
73 2 5
hasImagick()
S
66 2 8
__construct()
S
70 1 6
getSystemLoad()
S
80 1 3
setIntegrations()
S
75 1 4
getRelativePluginSlug()
S
66 1 8